package com.stu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.stu.mapper")
@EnableConfigurationProperties
@EnableCaching
@EnableScheduling  // 开启任务调度器
public class ECommercePlusApplication {

    public static void main(String[] args) {
        SpringApplication.run(ECommercePlusApplication.class, args);
    }

}
